package dao;

import model.Hospital;
import view.HospitalView;

import java.util.List;

/**
 * Created by gable on 2018/5/17.
 */
public interface HospitalDao {

    /**
     * @Author: 杨青桦
     * @Description: 查询所有医院
     * @Date: 2018/5/17 15:52
     * @return
     */
    List<HospitalView> queryHospitals();


    /**
     * @Author: 杨青桦
     * @Description:  检查医院是否存在
     * @Date: 2018/5/23 10:24
     * @param hospital
     * @return
     */
    Hospital checkHospital(String hospital);
}
